package models

type SysLogo struct {
	Id         string `json:"id" gorm:"primaryKey;autoIncrement;comment:主键编码"`
	Systemid   string `json:"systemid" gorm:"type:varchar(64);comment:SystemId"`
	UserId     string `json:"userId" gorm:"type:varchar(64);comment:UserId"`
	UserName   string `json:"username" gorm:"type:varchar(64);comment:UserName"`
	Logo       string `json:"logo" gorm:"type:varchar(255);comment:Logo"`
	SystemName string `json:"systemName" gorm:"type:varchar(255);comment:SystemName"`
}

func (SysLogo) TableName() string {
	return "sys_logo"
}

func (e *SysLogo) Generate() interface{} {
	o := *e
	return &o
}

func (e *SysLogo) GetId() interface{} {
	return e.Id
}
